package com.clw.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Administrator on 2018-03-05.
 */
@Data
public class ProduceForm {
    private Integer id;

    @NotNull(message = "创建人不能为空")
    private Integer createUserId;

    @NotEmpty(message = "出品人不能为空")
    private String producer;

    @NotEmpty(message = "生产编号不能为空")
    private String proNo;

    //造价总额
    @NotNull(message = "造价总额不能为空")
    private BigDecimal total;

    private String remark;

    @NotEmpty(message = "明细不能为空")
    private  String detail;
}
